package com.lzw.security.mapper;

import com.lzw.security.entity.Coupon;
import com.lzw.security.entity.UserCoupon;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ：冯涛滔
 * @date ：Created in 2020-4-2 20:34
 * @description：优惠卷
 * @modified By：
 * @version:
 */
@Service
public interface CouponMapper {
    List<Coupon> getCouponAll();
    Integer addCoupon(Coupon coupon);
    Integer deleteCoupon(int id);
    Integer addUserCoupon(Coupon coupon);
}
